﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TianShiProject.Models.CarService.Illegals
{
    public class IllegalDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string IllegalNumber { get; set; }
        /// <summary>
        /// 违章标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNumber { get; set; }
        /// <summary>
        /// 违章人
        /// </summary>
        public string IllegalManager { get; set; }
        /// <summary>
        /// 违章日期
        /// </summary>
        public DateTime IllegalTime { get; set; }
        public string IllegalTimes { get { return IllegalTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        public string CreateTimes { get { return CreateTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 违章内容
        /// </summary>
        public string IllegalContent { get; set; }
        /// <summary>
        /// 处罚结果
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string License { get; set; }
    }
}
